<!--{template common/header}-->
<!--{if empty($_GET['infloat'])}-->
<div id="pt" class="bm cl">
	<div class="z"><a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>&rsaquo;</em> $navigation</div>
</div>
<div id="ct" class="wp cl">
	<div class="mn">
		<div class="bm bw0">
<!--{/if}-->
<div class="tm_c">
	<h3 class="flb">
		<em id='return_remarks'>{lang freeaddon_remarks:tlang_001}</em>
		<span>
			<!--{if !empty($_G['gp_infloat'])}--><a href="javascript:;" class="flbc" onclick="hideWindow('freeaddon_remarks')" title="{lang close}">{lang close}</a><!--{/if}-->
		</span>
	</h3>
	<form name="remarksform" method="post" autocomplete="off" id="remarksform" action="plugin.php?id=freeaddon_remarks&uid=$uid&submit=yes" onsubmit="ajaxpost('remarksform', 'return_remarks', 'return_remarks', 'onerror');return false;">
			<div class="c" id="floatlayout_$_GET['handlekey']">
				<div class="p_c">
					<input type="hidden" name="formhash" id="formhash" value="{FORMHASH}" />
					<input type="hidden" name="handlekey" value="remarks" />
					<ul class="cl">
					{loop $remarkslist $remarks}
					<li class="z pbt" style="min-width:49%;">
						{$remarks[1]}{lang freeaddon_remarks:tlang_002}<input type="text" name="remarks[{$remarks[0]}]" class="px" value="{$remarksinfo[remarks][$remarks[0]]}" style="width:200px;">
					</li>
					{/loop}
					</ul>
					<div class="tedt">
						<div class="bar">
							<!--{eval $seditor = array('detail', array('bold', 'color', 'link', 'smilies'));}-->
							<!--{subtemplate common/seditor}-->
						</div>
						<div class="area">
						<textarea rows="7" cols="80" name="detail" id="detailmessage" onKeyDown="seditor_ctlent(event, '$(\'detailsubmit\').click();')" tabindex="22" class="pt">{$remarksinfo['detail']}</textarea>
						</div>
					</div>
				</div>
			</div>
			<div class="o pns" id="moreconf">
				<button type="submit" id="detailsubmit" class="pn pnc z" value="true" name="{if $_GET['handlekey'] == 'newthread'}topicsubmit{elseif $_GET['handlekey'] == 'reply'}replysubmit{/if}" tabindex="23"><span>{lang freeaddon_remarks:tlang_003}</span></button>
			</div>
	</form>
</div>
<script type="text/javascript" reload="1">
function succeedhandle_remarks(url, message, values) {
	hideWindow('freeaddon_remarks');
	showPrompt(null, null, '<span>' + message + '</span>', 1314);
	setInterval('window.location.reload()',1314)
}
</script>
<!--{if empty($_GET['infloat'])}-->
		</div>
	</div>
</div>
<!--{/if}-->
<!--{template common/footer}-->